﻿namespace battlenet.wow.rt.domain.objects
{
    public class ItemSpell
    {
        /// <summary>
        /// Gets or sets the spell identifier.
        /// </summary>
        /// <value>
        /// The spell identifier.
        /// </value>
        public int SpellId { get; set; }

        /// <summary>
        /// Gets or sets the spell.
        /// </summary>
        /// <value>
        /// The spell.
        /// </value>
        public Spell Spell { get; set; }

        /// <summary>
        /// Gets or sets the charges.
        /// </summary>
        /// <value>
        /// The charges.
        /// </value>
        public int Charges { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether this <see cref="ItemSpell"/> is consumable.
        /// </summary>
        /// <value>
        ///   <c>true</c> if consumable; otherwise, <c>false</c>.
        /// </value>
        public bool Consumable { get; set; }

        /// <summary>
        /// Gets or sets the category identifier.
        /// </summary>
        /// <value>
        /// The category identifier.
        /// </value>
        public int CategoryId { get; set; } // TODO: add an enum once you know what the ids stand for

        /// <summary>
        /// Gets or sets the trigger.
        /// </summary>
        /// <value>
        /// The trigger.
        /// </value>
        public string Trigger { get; set; }
    }
}